package day3;

/**
 * @author oldliu
 * @since 1.0
 */
public class Oushu {
    public static void main(String[] args) {
        int sum=0;
        for(int i=0;i<=100&&i%2==0;i++){
            sum+=i;
        }
        System.out.println("100以内的偶数和是："+sum);
    }
}
